/*
 * @Author: yuanxiaohu
 * @Date: 2025-06-13 18:18:42
 * @LastEditors: yuanxiaohu
 * @LastEditTime: 2025-06-18 22:53:45
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \wine-trend-hui-18\cloudfunctions\getCollection\index.js
 */
const getCollectList = require("./getCollectList/index");
const deleteCollect = require("./deleteCollect/index");
const addCollect = require("./addCollect/index");

// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "getCollectList":
            return await getCollectList.main(event, context);
        case "deleteCollect":
            return await deleteCollect.main(event, context);
        case "addCollect":
            return await addCollect.main(event, context);
    }
};